<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            background-color: yellow;
            width: 200px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    </style>

</head>
<body>
<div>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam aut consequuntur ea error esse incidunt itaque laboriosam libero molestiae nesciunt placeat quasi quia quibusdam quod recusandae repellendus, rerum voluptatum. Dolor.
</div>
</body>
</html>